package org.x.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;
import java.lang.String;

/**
 * 文书签名记录表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "document_signature", dataSource = "caseDS")
public class DocumentSignatureEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联文书ID
     */
    @Column(value = "doc_id")
    private Long docId;

    /**
     * 签名用户ID
     */
    @Column(value = "user_id")
    private Long userId;

    /**
     * 签名图片路径
     */
    @Column(value = "sign_image")
    private String signImage;

    // 签名时间
    @Column(value = "sign_time")
    private Date signTime;

    /**
     * 数字摘要
     */
    @Column(value = "digital_digest")
    private String digitalDigest;

    /**
     * 数字证书ID
     */
    @Column(value = "certificate_id")
    private String certificateId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDocId() {
        return docId;
    }

    public void setDocId(Long docId) {
        this.docId = docId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getSignImage() {
        return signImage;
    }

    public void setSignImage(String signImage) {
        this.signImage = signImage;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public String getDigitalDigest() {
        return digitalDigest;
    }

    public void setDigitalDigest(String digitalDigest) {
        this.digitalDigest = digitalDigest;
    }

    public String getCertificateId() {
        return certificateId;
    }

    public void setCertificateId(String certificateId) {
        this.certificateId = certificateId;
    }
}
